Skip to main content

ArcGIS Online Feature Layer maxRecordCount Limits

Documented Limits

According to Esri’s Feature Layer reference for the ArcGIS REST API (as well as the related support article), the upper bound for hosted services is:

  • 32,000 records for point layers
  • 4,000 records for line and polygon layers

These limits apply to ArcGIS Online hosted feature services and remain in effect even when overridden programmatically (for example via the SDK).

Sandbox Validation

Uploading a zipped line or polygon shapefile that exceeds the documented limit, even after forcing a higher maxRecordCount, produces the following error:

“The maximum number of records allowed (4000) has been exceeded.”

This behavior confirms the platform-level constraint for non-point layers.

Configure hosted feature layers with the documented maximum values:

  • maxRecordCount = 32,000
  • This increases the line/polygon allowance from 1,000 to 4,000, and point layers up to 32,000.